-- GENERATED SPELL FOR [Onslaught Scout] --


function spell0_27332(pUnit, Event) --@Sprint,Self--
pUnit:FullCastSpellOnTarget(48594,pUnit)
pUnit:RegisterEvent('Sorts_27332', 15264, 1)
end

function Sorts_27332(pUnit, Event)
local choix_sorts_27332 = math.random(0, 0)
if choix_sorts_27332 == 0 then
pUnit:RegisterEvent('spell0_27332', 1, 1)
end
end

function mob27332_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27332', math.random(1500, 3000), 1)
end

function mob27332_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27332_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27332_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27332, 1, 'mob27332_Action')
RegisterUnitEvent(27332, 2, 'mob27332_Leave')
RegisterUnitEvent(27332, 3, 'mob27332_Kill')
RegisterUnitEvent(27332, 4, 'mob27332_Die')
